package reflect.entity;

public class short_6 {
    public static void main(String[] args) {
        try {
            Class clz = Class.forName("reflect.entity.Person");
            Object obj = clz.newInstance(); //调用Person类的无参构造方法创建Person类实例
            System.out.println(obj);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
